package com.kb.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("kb_model_application")
public class ModelApplication {


    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 型号
     */
    private String partNumber;
    /**
     * 厂商名称
     */
    private String orgName;
    /**
     * datasheet
     */
    private String datasheet;
    private String isSuccessful ;
    private String remark;
    private String sysSource;
    @TableField(exist = false)
    private Integer type;
    @TableField(exist = false)
    private String dataSource;
    private String isNotice;
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
